package com.tanhua.dubbo.mappers;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tanhua.model.domain.TestIdentification;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 测试关系的dao映射
 *
 * @author 李磊
 * @since 2022-01-15 22:23
 */
public interface TestIdentificationMapper extends BaseMapper<TestIdentification> {


    @Select("select * from tb_test_identification where report_scorert_max >= #{score} and report_scorert_min <= #{score}")
    TestIdentification findByScore(@Param("score") Integer score);
}
